package com.zxg.web.util;

import java.util.regex.Pattern;

/**
 * @Author: zhaoxiaoguang
 * @Description:
 * @Date: created in 2018/6/8
 * @Modidied By:
 **/
public class PatternUtil {
    private final static Pattern pattern = Pattern.compile("^-?[1-9]\\d*$");
    public static void main(String arg[]){
        System.out.println(pattern.matcher("111").find());
    }
}
